package com.zhibang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
;
import lombok.Data;

/**
 * 角色表
 * @TableName role
 */
@TableName(value ="role")
@Data
public class Role implements Serializable {
    /**
     * 角色id
     */
    @TableId(type = IdType.AUTO)
    private Integer rid;

    /**
     * 角色名
     */
    private String rname;

    /**
     * 角色描述
     */
    private String desc;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 状态0正常 1停用
     */
    private Integer state;

    /**
     * 
     */
    private String createTime;

    /**
     * 0正常 1删除
     */
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}